package org.glz.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Controller

public class ForwardController {

    @GetMapping("/aa/{folder}/{page}")
    public String user(@PathVariable("folder") String folder, @PathVariable("page") String page){
        System.out.println(folder+"====="+page);
        return folder+"/"+page;
    }

    @GetMapping("/bb/{page}")
    public String index(@PathVariable("page")String page){
        return page;
    }
}
